package com.pattern.TWO;

/**
 *
 * Created by 峥桂 on 2017/6/9.
 */
public class FirstAuditLink  extends BaseAbstractLink {

    //认领环节 设置为初审中
    public void claimTask(){
        if(userClaimsApply.getHandlestatus()==1){
            System.out.println("认领==设置为初审中");
        }

    }

    //理赔处理环节
    public void handlerTask(){
        //如果是问题件则设置问题件
        if(userClaimsApply.getHandlestatus()==2){
            taskFinished();
        }else if(userClaimsApply.getHandlestatus()==6){
            taskProblem();
        }
        //否则为完毕
    }

    public void taskProblem(){

    }

    //理赔处理完毕环节
    public void taskFinished(){
        //设置为初审完毕
        System.out.println("初审完毕");
    }
}
